add getSlot method