I'm assigning to a variable, a function that uses setInterval, but I don't want the function to run until I call it. However, the function is running from just the assignment statement.

```
sessionClock = setInterval(function() {
  console.log("Hi")
}, 1000)

```

I have also tried like this:

```
sayHi = function() {
  console.log("Hi");
}

var sayHiStarter = setInterval(sayHi, 1000);

```

Both of these initiate the function and will log "Hi" to the console.

Why is it running on assignment? And what can do I do fix this?