removed obsolete split function