addInterval working