Basic loop structure