Added try/except for parsing