changed setTimeout to setInterval. Dumb fix.