modify live_output to output