dimming functions were moved to power.