updates to package to satisfy CRAN