Restored try..except statement