changes to interface for MinimalPrimes