solved q2.35