a machine gun is used for rapid fire of projectiles.