class notes and samples