add dependency on ws