solution for Task2