modified Sum