removing old partitioning code