added analyze-partitions