Expand Cycle code added