add example snippet