make SliceType an enum