Lost the point on problem 9