oops. add Math. to abs()
remove a lot of console logs