Added new code snippets