revised task 1 and 9