some more math changes