add option for delay to switch source