working pcl with printf's for debuggingwq