new arg for ws_main_send