Removed useless references
Added ability to configure indexing offset