threads task 7 fixed