Model: Refactoring of the way algorithm.