added the setInterval example