add has_score attribute