removing core-samples