Make it actually return the result and clean up debugging