added docs for user guide
corrections to idexing