max-score added