Removed variable for the name of the slot.  It is not needed.
Moved code for reading slot name until it is required.