refactoring in Splitter#split; use splat