implements order creation (bad way)