made stats more reobust