Tekstiviesti: Theory and algorithms for cooperative systems