update with examples from Goetz book