adding more types to create_from_plot