Simple, you commit a crime with a gun you get life in prison, if you kill someone with a gun, you go to the electric chair within a week, no long trials no appeals. It might take a few years but eventually you will run out of thugs who will think about using a gun.