modifed R comments