initial solution for midterm pt2