midterm version done