removed try/except block