Added comments for clarification