implement wm_name