Assignment 3 question 1