working progress
Copied Sumeet's code
Rscpec