Different snippets of code