Fixed code examples