Added comments to code, final commit