make fading time configurable