simplifying basic example