adding function nexusPartitionCreate