getting primes