Changed tree_in to inputTree and tree_out to outputTree