Modify the samples