adding comments for clarification