a semiautomatic is a type of gun.