primeGen added to bbaisse