added pointCloud method