implemented more of the splitter