more math and some printing updates, need to stop working on this