Removing cruft from sample