In class code examples