adding more r codes