check before calling make_name