Dictionary.com
Thesaurus.com

had been differentiating

  • past perfect progressive
    of differentiate.
    differentiate
    verb (used with object)
    to form or mark differently from other such things; distinguish.