created submit_order method