updated rdoc examples