inappropriate use of try/except