I have modified `check_score` a little bit. This should work but I don't know if it is the best solution.