stop re-computing the arity every time we get it