solved q2.34