Tekstiviesti: Elements of optimization