Changed location method to getSlotLocation