solved q2.41