added compare_plot