Part 3 of the assingment