Task 05 solution.