add simple ws inplementation