math and some other stuff