fix tinkerings to make it build-- more formal from here on out
added split