derp. use setInterval instead of setTimeout