prevent consecutive selection of the same sample