This is my midterm assignment