both handgun and machinegun now inherit one class