created EvenValuesSum function in toolkit