lidong's midtermProject