* added resetsampling