homework, midterm, and exercises