changed example 3.2