move quickstats to own method