done problem 2.