create method for Partition Set