Finished midterm #aiyooo