Create output_ended