got basic splitting working