Modified rmd file