added pcl_formatted code