added missing 'raise'