A gunman killed three people and wounded 14 more before being shot dead in the US state of Kansas, police say.
Ten of the wounded were critically injured in the shootings at a lawnmower factory in Hesston and nearby.
The gunman was an employee at the factory, police said, and terrorism is not suspected.
The attack comes less than a week after a man was charged with killing six people and wounding two others during a shooting rampage in Michigan.
A number of mass shootings in the United States have elevated gun control as a campaign issue in this year’s presidential election.
Local police say the gunman, named in US media as 38-year-old Cedric Ford, began shooting at around 5pm local time in the town of Newton.
He shot a truck driver in the shoulder, and another man in the leg as he drove towards the Excel Industries site where he worked.
The gunman then opened fire in the car park, killing one person, before killing two more people inside the factory site.
Factory employee Martin Espinoza described how the gunman, a colleague who he said usually had a calm demeanour, attempted to shoot him.
The gunman pointed his weapon at Mr Espinoza and pulled the trigger, but the weapon was empty. Mr Espinoza then ran away as the gunman took out a second gun.
“I looked right at him and he looked right at me,” Mr Espinoza said.
Another witness described scenes of panic.
“All I know is I’m seeing people running and so I’m assuming fire, and so I take a few steps and I hear pop, pop and I’m thinking just some paint cans or something going up, and more people running and all of a sudden, pop, pop, pop, pop, pop, pop, pop, pop, pop and I’m going, ahh, I start running too,” said one man.