add basic ws magic