use setInterval
remove old require