Actually have a state machine now (i think)
Actual State machine now maybe