improvements to stats