initialize name_length