midterm exam commit 2

replaced default var value line 129