help to find primitive functions