updated bootstrap - with R packages