Throw exception when this index is not passed by the user for better error reporting?