updated after running CRAN check