One frequent source of comedy is Barney's incompetence with firearms. After numerous misfires (usually with a Colt .38 caliber revolver), Andy restricts Barney to carrying his gun unloaded, with only one bullet in his shirt pocket, "in case of an emergency." However, Barney tends to load his gun unnecessarily, and often ends up firing it into the floor, the ceiling, or his own gun holster. The negligent discharge of Barney's gun becomes a running gag, usually followed by Barney sheepishly handing his gun to Andy. Another recurring gag has Barney locking himself or both himself and Andy in one of the jail cells, with the keys just out of reach.