hrend and vrend now use intrin