simplyfied roxygen code and added standard function