changes for canned functions