after all , the americans had only recently set up their own homeland security department , and although this was primarily designed to defend the country against wmds , the so called weapons of mass destruction , it would also be capable of preventing and countering just the sort of terrorist attacks that the uk had been enduring since the troubles started .