implementation for the partition framework