add ability to index cursor
Merge pull request #40 from texuf/master

add ability to index cursor