Why don't you just put the `coolDown()` function inside `run()`?