added segment3d