woring on custom partitioning fragment