version 1.5.0, as submitted to cran