Working on midterm 2