power widget code structure