finished Task2 and extended task1