fixing comparisons
buggy but working primer generator