translated Example 11 to Groovy