add support for selectedSlotId