solved q2.36