1. Replaced the "setTimeout" scheduling to "setInterval".