add Segment and DailySegments structs