Added the sockets back into program