Updated version of Rmd file