changed to Roxygen2 style documentation