updated to R 3.0