add logic to check valid hierarchyLevelName