Dictionary.com
Thesaurus.com

had been masterminding

  • past perfect progressive
    of mastermind.
    mastermind
    verb (used with object)
    to plan and direct (a usually complex project or activity), especially skillfully.