minor: stats refactor