3d routines testing 4