added roxygen docs