added rdoc
got rdoc working