small changes to isCorrect