add a new sum code