R2 index

Please do the merge for this project...!!