added a simple splitter implementation