added automatic primitive enhancement
commented prng