Model changed, Alogorithm cpmpleted