Begin experimenting with using cortex as the state manager