adding the R components