How to use "dealing" in a sentence

Sentences

He was dealing blackjack at one of the first tables

Elliot didn't tell the judge about the malicious prankster, for that seemed like an unnecessary complication; he still believed that once the fact of Danny's death was established by the exhumation, the quickest and surest way of dealing with the harassment was to hire a first-rate firm of private investigators to track down the perpetrator

Besides, we're dealing with a government agency, and government agencies tend to cooperate with one another."

The Alexander's were all idealists when they were discussing the way things ought to be, but they were also hardheaded pragmatists when dealing with the way things actually were