updated ws_fnc