corrected a minus sign error from past