problem 2 done, name change in problem 3