small change to stats gathering routine