assignment 6 - question 1