Rewiring the neighborhood