the problem is from calling setInterval every time the code is evaluated, leading to way too many function calls/second
the problem is from calling setInterval every time the code is evaluated, leading to way too many function calls/second