add container sum policy, use type function