basic slice handlin