made it so that the simulation takes an input for the start of the stage to isolate tasks for each stage.
Not quite working, but working: stages are separated--but the shift isn't quite right.