record both name and parent name