modified to use roxygen2 formating
modified to use roxygen2 formating