added sum over ms1 and sum over ms2