add xs sum