add fnc for get sub segment names