factored out registration stats