find the split function