role of snippet?