This line should be outside the interval function, the url doesn't change