Added process_sub_order method