prep for release
 moved the labels loop logic