code examples and assignments