Made startIndex ctor argument optional