Update task1(a)