changed how Interval() works