add SUMQ and SUMS