add character_name function