changed A to B