minimizing sampling errors