Wrote some better commenting.