done with problem 2