adding roxygen documentation