The gunman who killed 12 people at a municipal building in a US beach resort city had submitted his resignation hours before the shooting.
That's according to the Virginia Beach city manager Dave Hansen, who said: "the perpetrator's performance was satisfactory... there were no issues of discipline ongoing."
However, a motive for the killing spree is still unclear.
Forty-year-old DeWayne Craddock had worked as an engineer for the municipality in Virginia Beach for nearly 15 years before carrying out the rampage.

Hong Kong court finds tycoon Jimmy Lai guilty in landmark security trial
School bus accident in Colombia kills 17, injures 20
Australia plans tougher gun laws after father and son kill 15 at Bondi Beach
Shooting at Australia's Bondi Beach kills 12
