knitr-main put together