started adding roxygen documentation