added plot_queue