Text this: Elements of dynamic optimizahion