writing changes to task 1a