added rdocs