updated to 3D