A federal indictment alleges that a North Carolina man accused of plotting a terror attack in the U.S. communicated with a member of the Islamic State as he developed his plans.

The indictment filed Tuesday in U.S. District Court in Charlotte said Justin Nojan Sullivan spoke with Junaid Hussain in June 2015 via social media about making a video of a terrorist attack in the U.S. to be used by IS.

The original indictment unsealed in February accused Sullivan of killing his neighbor and stealing his money so he could buy an assault rifle to carry out an IS-inspired shooting at a concert or club. The indictment said Sullivan offered an undercover FBI employee money to kill his parents, who he believed would interfere with his plans.