edited power measurement section