Initial code to read pcd