example snippet