Added sum method