finished 'loops section'