adding ws calls into client