snippets for setting address