functions upgradind in progress 2