starting the refactoring process for getting a column for each statistic