add the r codes to repo