built state machine, movement restriction