added 3d example