solved q2.33