solved q2.37