simplify code examples.