adding stats class