Problem 10 updated