Connect Segment and Create a Destination Function in Atlas