working on orders
Testing FSM