get_cycles is changed