updated rmd file