revised websocket w/ more formatting info