Primes
Fix primes
Added guard, clean up