add value to sum