It's a handy utility to use setInterval and setTimeout