changing to using uuids for pks