added segment.io diagram