added code to append Interval String