added the socket for reveal