Added dimming flag to switch record