VERSION 2.1 submitted to CRAN