added support for integer partitions