changed the cycle code for comment partial