modified Rmd