modify the display point cloud function