added function arity explanation