Replacing CheackScores with CheckScores2 code.