first version of batch_plot ready