added listPrimes()