add roxygen documentation