trying to debug 3D