Just some basic math stuff.