fixed Mike's problem 10 and now adding it