simplify the samples