try-except block removed.