Sum and Cache