Added comments to the calling of the function