Finished work on the midterm