changes to intrinsic.py