API: cycle -> cycle_code