midterm_xuran.pdf