very untested sliceit code