better design for stats