added roxygen docs
added roxygen docs