HELP! need to "bag" this number

    Feb 28 2013 | 10:13 pm
    HI ALL!!!
    sorry for being a beginner,,, i think there should be an easy way to do what i need but im totally stumped
    i have this arpeggiator im working on... please see patch attached. in it there is a patcher with a "bag" and "zl group" inside. works great when i press some notes on the keyboard it puts the note numbers in a list and jumps between them nicely. now i want to add another note number from a dial that will function like the ableton arpeggiator "distance/steps" dial. but when i press a note and turn the "distance" dial, the "bag" obj bags all the numbers im passing through... and the list becomes too long,, i need a way to capture only the last number on the dial into bag, maybe just when i pass to the next number that the number before would be deleted from the bag.
    hope this makes sense :( and that someone has an idea of what to do...