added all four partitioning