Added startIndex option
Documenting startIndex option