clean up
added solve functionality