added option to not include entry in sum