adding SocketEvent into the game