Assignment 1 task 2,3,4