Dictionary.com
Thesaurus.com

had been formalizing

  • past perfect progressive
    of formalize.
    formalize
    verb (used with object)
    to make formal, especially for the sake of official or authorized acceptance.