tagged for CRAN version 1.2