process primes