To deligate to calculate stats and refactor