bug fix, v1.1 for production
merged feature from r2_index into master
added notes, completed coding