lidong's midterm project