better handling of addSlot