Formalize stats into record