Primes final version