I've done some thinking. Thanks for the nudge. I'll have at least some pseudocode for this later in the week.