Extracted order creation into the separate layer