added bad isprime code