do_name functin completed