Added isPrime