add setInterval and clear button