Added slice method