finished till problem 10