updated bootstrapping to plot