changes i made in class during peer review
fixed up formatting for Q1