implemented cleaning dimming