phase analyze and compute