Assignment 3 Task 8 and 9