start rework of power flow