to the body so it has blood supply, then remove however much tissue they need to remove above it, sort of "slot" the nipple into place, and wrap the remaining tissue underneath to secure everything together. there was a sort of stencil my doctor used to draw the guidelines that looked like this: