example of partitioning