handling multiple results now in validateResponse