task2 solution