Added comment clarifying what code does