state machine is now working need additional checks