new sum compiles, at least.
almost but not quite working :(