isInputCorrect updated