changes prime to primes