added 3d visualization