adding own split function