Changed approach; added Rmd