a safety is a switch on a gun to prevent accidental discharge