updated to support PCL 259