a pistol is a type of handgun