Updated Task 3 of part 4