Beginning of partitioning