added q2 to ex1.2