first version for CRAN