partitioning works