Changed indexing to be one-based, instead of zero-based (like Webparser)