added x and y slices