now, just worte basal 3d math and not tested yet