new snippet structure