support multiple slices in a container