Task 9
Task 9 with corrections
Task 10