adapt the splitter to return all of the elements