edited create_png