experimenting with an alternate environment model
more environment experiments
added state change pause parameter