use setInterval and add stop button