finished midterm project 1