add bindings for ws