implementation of 3d output
debut