Second pass for the midterm