Changed a tiny bit of math