Refactorization - numeric calculations.