task 4 completed and 4.b reworked