Text this: Optimal device design