changes slice index