updated to match exception