added more R functionality