added taxi state machine