I’ve been implementing this and it seems to work and be relatively straight forward so far.
Edit: Everything worked out perfectly as long as I carefully watched my step with how I did the various iterations through my array.