yay error check and new primes and new msg