opitimization phase 1