Active loops - to start, work in and terminate a loop