more math stuff.