comment and explain snippets for d7