Added comments on ShareFunction