solved problem 1.1