prelim partitioning
prelim partitioning