add sum feature