Added Code for A and B