working stats first version