adding documentation (rdoc)