Added comments to new code