partition logic WIP