Deleted R code for merging with main