class notes and examples