Changes curren_cicly to reference_cycle