changed name for build prob and added prime flag