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.

US and Iran signal a peace deal is close
Qatar rejects media report on energy production decisions
Trump says Iran war deal close as Strait of Hormuz tensions linger
Victims' families mark Air India crash anniversary with prayers and tributes
Ebola outbreak spreads to crowded displacement camp in Congo
Fire breaks out at New Zealand's Wellington airport, disrupting flights
Ukraine and Russia trade overnight drone strikes, officials say
UN says Taliban arrest 30 women for violating hijab rules in Afghanistan
