Remove isPrime (unnecessary)