Properly make the goHome() function in slot group