added snippets for attributes