Changed result to score instead of boolean. TODO: Change score to class.