added first r-branch commit
second commit r-branch
third commit r-branch
R-branch functionality added