some important snippets