added append_box, and plot_utils