more web socket stuff