deleting and reorganizing