Wow. that's brilliant, and now I'm understanding. I'm a visual learner, so once I see it, I get it. So it looks like you effectively have one position in the array (currently) and you're calling that one array position, or that one array in total. and for the wait time between lines, you're providing one function that triggers the wait time per line.
I'm learning the heap and stack, containers and all, I'm gonna take a while to dissect that.