Text this: Developing an algorithm for triad design