assignment 2 task 3