added 3D to pointer