Added recursive_order flag