cleaning up the samples