Made the responses function more readable.