Added a stats class