Fixed 2nd task.