work on python stats