some changes made to output. Write a function to convert the output to a drawable format such as vcd