Added more code snippets