decouple segment and intercom