Renamed variable output_buffer to output.