optimize - use {} in place of [] for scoring