Hello pip0!
What do you need the boolean variable isValid for? You can test directly your isValid(int score) method in the while loops since it returns a boolean value. To be more clear:
instead of...