what the actual...
add newline and remove stack print call
fixed cleanup/free issue. should figure out a place to put cleanup for sure