leaf manipulation