new index and delete samples