Solution to Task 15