rename A1 -> A2 B -> B1