Fixed task 3.