edited slices, added ability to add 0 for functor 0