Phaseangle rewritten