oh, is this code now supporting slicing of both samples and observations at the same time? that adds a fair bit of complexity. is that something that we want to support?