Used better slicing