begining work on websocket integration