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.

Five dead at Russian nuclear arms research facility after ammunition explosion
King Charles unveils 'human-centered' AI principles with tech giants
Philippines' Duterte takes the stand in 'politicised' impeachment trial
Hong Kong court finds three guilty of model's gruesome murder
At least 62 killed in Indonesia's Papua riots since Tuesday, police say
India's parliament approves landmark bill to expand legislatures
US senators grill Nvidia CEO over affair with alleged Chinese spy, national security risks
Mexico detains 13 public servants, probes links to organised crime
