add loop, recalculate the score and compare.