cleanup phase I