Assignment 2 task 2