for snippet