Added getSlot and works fine