added case-sensitivity to aggregate