get some math kinda sorta working