added index to responses
added comments