extend arity for anonymous functions