Example 2.7 - first chat example