flattened pid