adde knitr library code as a note