recover arity
better, but not there yet