add basic ws interaction