first version of partition-validation