clean up phase 2