Added the FUNC codes for the rest fo the R type implementations