math and simulate..