why are you making sure B !== A ?