got spot math sorta working