The FBI received a tip that Parkland, Florida school shooter, Nikolas Cruz, wanted to shoot up a school in January, but didn’t properly follow-up, the agency said on Friday.

Someone close to Cruz, who killed 17 people at Marjory Stoneman Douglas High School on Wednesday, contacted the FBI on January 5 warning the agency that Cruz was dangerous.

“The caller provided information about Cruz’s gun ownership, desire to kill people, erratic behavior, and disturbing social media posts, as well as the potential of him conducting a school shooting,” the agency revealed in a statement.

The agency revealed that the pressing information should have been forwarded to its bureau office in Miami, but wasn’t.

“We have determined that these protocols were not followed,” the statement said. “The information was not provided to the Miami Field Office, and no further investigation was conducted at that time.”

FBI Director, Christopher Wray, said that the investigation is ongoing and offered condolences to those impacted by the massacre.

“We are still investigating the facts,” Wray said. “We have spoken with victims and families, and deeply regret the additional pain this causes all those affected by this horrific tragedy. All of the men and women of the FBI are dedicated to keeping the American people safe, and are relentlessly committed to improving all that we do and how we do it.”

This latest development comes after it was revealed that the agency was contacted in September 2017 about a comment left under a YouTube video bearing the shooter’s name.