solution for Task1