Added "sumSlice" method