tweeking base function and pick-primers