version 0.3.0 for CRAN