Splitting seems to be working. Now need to implement better split
functions.