cleaner handling of the statistics
oops, better method naming