Text this: Principles of optimal design