Adding segment_name field in view