rdoc in correct format