Task 3 fixed