adding a few new stats as well as the ability to specify a time window