gets the correct answer