Adding Compare and Interval