replaced setTimeout with setInterval. whoops