working on adding socket.io