add loops to support changing REPEAT value, i.e. bee trails