added plots for data_phase