new helper functions
convergence-plot