examples: basic example (closes #12)