Text this: Logic and structure