midterm assingment part 2