Replaced setInterval with setTimeout