started to refactor stat stuff...added jStat