solving problem 1.3