do A and B have the same position?