Added comments to g