clean up phase 1