trying to figure out the math to do the work in the code.