add sum field