changed to a slice