Refactored the slot imlementation code 

Incorrect formatting. need a space