cleanup and splitting between notebooks