improve strategy for generating trials