update maths stupidness