Not every American can own a machine gun, but a company out of Texas has found a way around that by modifying a semiautomatic rifle that has the potential to continuously fire hundreds of rounds of ammunition.

Video from gunmaker Slide Fire shows how the device works, using the recoil of the rifle shock to pump the gun. That lets you fire several bullets without having to actually fire the gun repeatedly.

The Bureau of Alcohol, Tobacco, Firearms and Explosives says it's legal. How? It all comes down to how the gun is built.

There are four main parts of the gun -- the stock, the barrel, the magazine and the receiver -- but the ATF only regulates the "receiver" as a firearm. It's the only piece that has a serial number and requires a background check to purchase.

Slide Fire is modifing the stock, the butt of the gun that sits against the shooter's shoulder, so it moves the trigger repeatedly into the shooter's finger.

So, even by speeding up the rate of fire, the company is not changing the gun's classification; it's still technically a semiautomatic weapon.

Slide Fire said it plans to start selling the new devices this fall for about $6,000.