solve3D now functional