modify sampling