Refactored the slot imlementation code 

This is a untidy method. we have removed this anyway ( - due to implementation changes/improvments)