add example with define