combine the 2 segments functions. the new segments function allows to get segment by type
combine the 2 segments functions.
the new segments function allows to get segment by type

tmr232/Sark,tmr232/Sark