format stats