adjust samples