Code examples from module 2