Problem 10: solved