Different sample code snippets