wrote rel_output