partitioning working