more intelligent sample selection