just connect/disconnect for every segment