Working on programs executing cycles