debugging. maths are hard