Finished 392 State Machine

#190