new version 1.3.1 pushed to CRAN