Refactor configureSlot and searchSlot into their own methods