supply second parameter for _gen_new_name method