Fixed task 3b