Text this: Elements of optimal control