forgot genprimes method