update Interval equals method
conflict resolved