Implemented spark-splitter