reorganized power code