task 6 fixed