Brought back partitions and integrated that into the current code.