changed to 3d thread layout