Problem 5 - solved