diff --git a/examples/multiple_pointclouds.html b/examples/multiple_pointclouds.html
index 9efbd16f..c1773612 100644
--- a/examples/multiple_pointclouds.html
+++ b/examples/multiple_pointclouds.html
@@ -138,8 +138,8 @@
// wait until this point cloud is loaded before processing the next one
let pointcloud = (await promises[i]).pointcloud;
- viewer.scene.addPointCloud(pointcloud);
pointclouds[i].callback(pointcloud);
+ viewer.scene.addPointCloud(pointcloud);
}