changes for partition.