simpler and cooler inject for sum method