modified .rmd