add functions for primeSieve