continuing to add code for the 3d tools