Add math and tilemap