Text this: Optimal design of experiments