replace CYCLE with NUM