added method to splitter class