adding setInterval