modify sample