add number of partitions in option