return correct response