Problem 3 - solved