try/except trick