added documentation using Roxygen2
added documentation using Roxygen2