trying to plot posteriors
better memoize with reset