improves Rmd