deals correctly with R 2.13 (and likely any after)