Text this: Dynamic optimization in two-party models /