basic examples and exercises