added comments that made sense to me- some things still unclear.