Change intervalFn to intervalId