add setInterval and clearInterval