fix jeremys math problem