some more math, smaller git complete