adding partitioning support.