Use parser TOC array for cleaner, safer code