fixed problem 9