rework mechanism of nesting