testing code for the math