update for midterm 2