add segment control