Adding some code snippets