wip on plot_spec