Initial import of slice code