Added res_plot