setting ws