Added code examples