add double arity and recursive pattern for get-order