to simplify the electrical calculatios