inappropriate use of a try/except